@inject Serenity.Web.IDynamicScriptManager DynamicScriptManager
@{
    var nonce = Html.CspNonce();
}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="username" content="@User?.Identity?.Name" />
@*<meta http-equiv="Content-Security-Policy" content="base-uri 'self'; default-src 'self'; img-src data: https: 'self'; object-src 'none'; script-src 'nonce-@nonce' 'self'; style-src 'unsafe-inline' 'self'; connect-src 'self' http: ws: wss:; upgrade-insecure-requests;" />*@
<meta name="csp-nonce" content="@nonce" />
<link rel="home" id="ApplicationPath" href="~/" />
<link rel="icon" type="image/x-icon" href="~/favicon.ico" />
@Html.StyleBundle("Base")
<script type="application/json" id="ScriptCulture">@Html.Raw(Serenity.JSON.Stringify(new ScriptCulture()))</script>
@Html.ScriptBundle("Base")
@Html.LocalTextScript("Site")
<script type="module" src=@Html.ResolveWithHash("~/esm/Modules/Common/ScriptInit.js") nonce="@nonce"></script>
<script type="text/javascript" nonce="@nonce">
    @Html.Raw(DynamicScriptManager.GetScriptText("Lookup.Administration.Language"))
</script>
<script type="application/json" id="RegisteredScripts">@Html.Raw(Serenity.JSON.Stringify(DynamicScriptManager.GetRegisteredScripts()))</script>
